package com.bdqn.zhang.util;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2020/11/25 8:52
 */
@Component
@ConfigurationProperties(prefix = "zt")
public class Global {

    private static String name;


    public static String getName() {
        return name;
    }

    public void setName(String name) {
        Global.name = name;
    }
}
